# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=lv2
pkgver=1.18.4
pkgrel=0
pkgdesc="extensible open standard for audio plugins"
url="https://lv2plug.in"
arch="all"
license="ISC"
makedepends="python3 gtk+2.0-dev libsndfile-dev gcovr"
subpackages="$pkgname-dev"
source="http://lv2plug.in/spec/lv2-$pkgver.tar.bz2"

build() {
	python3 waf configure --prefix=/usr -T
	python3 waf build
}

check() {
	python3 waf test
}

package() {
	python3 waf install --destdir="$pkgdir"
}

sha512sums="
8095a1f3dcf70cf8cefff18c40b52c1dffeab0fe1f6bfb083c9f0e48a9617d3c8647b3f4db567ac1f5f33564399ffe1023774ad9bacb1bb0133f182422f22d6a  lv2-1.18.4.tar.bz2
"
